package com.xoa.service.financialManage.charge;

import com.baomidou.mybatisplus.service.IService;
import com.xoa.model.financialManage.charge.ChargeList;
import com.xoa.model.financialManage.charge.ChargeType;
import com.xoa.util.ToJson;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 费用信息 服务类
 * </p>
 *
 * @author liujian
 * @since 2020-04-23
 */
public interface ChargeListService extends IService<ChargeList> {

    ToJson<ChargeList> save(HttpServletRequest request, ChargeList ChargeList);

    ToJson<ChargeList>  deleteById(Integer chargeListId);

    ToJson<ChargeList>  update(ChargeList ChargeList);

    ToJson<ChargeList>  selectById(Integer chargeListId);

    ToJson<ChargeList> conChargeList (HttpServletRequest request , Integer deptId, String key ,String filter,Integer typeId,String undertaker, Integer year ,Integer month,Integer day);

    ToJson<ChargeType>  findMyChargeList(HttpServletRequest request, Integer deptId , String filter, Integer year, Integer month);

    ToJson<ChargeType>  chargeStatistical(HttpServletRequest request, String type,Integer page,Integer limit);

    ToJson<ChargeType> chargeDetail(HttpServletRequest request, String type, String id, String paymentDateSta, String paymentDateEnd,String settingId, Integer page, Integer limit);
}
